-
-
Notifications
You must be signed in to change notification settings - Fork 404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting started guide #1537
Getting started guide #1537
Conversation
The tentative notebook names in
These are filenames and the sections will probably have longer names associated with them as well. |
Roman numerals look a bit too formal for a software getting started guide! Those look good, apart from me not being able to guess what Pipelines are. |
The guides are now in a top level |
6ee87e5
to
3bf4498
Compare
3bf4498
to
f734c43
Compare
The new listing is: 1-Introduction.ipynb @jbednar @philippjfr Can we try to think of a better word than 'gridded' before inventing an entirely new word? |
Not sure what you mean; "gridded" is in wide use in at least some contexts (see e.g. http://scitools.org.uk/iris/docs/latest/userguide/iris_cubes.html). |
@jbednar You've convinced me about gridded being used elsewhere! |
99cbbfb
to
c5ad4be
Compare
@@ -9,7 +9,7 @@ | |||
"\n", | |||
"The 'Getting Started' Guide has up until this point demonstrate how HoloViews objects can wrap your data and be given a rich, useful representation. This has assumed that the data was available in memory so that it could be used to construct the appropriate object.\n", | |||
"\n", | |||
"The assumption that the data is immediately available in memory for analysis and visualization does not hold in many different scenarios. The data of interest may exist on some remote server making it unavailable locally until it is fetched. In other situations, the data may exist on the local disk but be too large to fit into memory. Perhaps the data doesn't even exit yet: it may be the result of some computation yet to be performed or the outcome of some live live process with the corresponding measurement not yet made.\n", | |||
"The assumption that the data is immediately available in memory for analysis and visualization does not hold in many different scenarios. The data of interest may exist on some remote server making it unavailable locally until it is fetched. In other situations, the data may exist on the local disk but be too large to fit into memory. Perhaps the data doesn't even exist yet: it may be the result of some computation yet to be performed or the outcome of some live live process with the corresponding measurement not yet made.\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
live live
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed locally, thanks! I'll push if you tell me you don't have any other fixes for me to add right now...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Never mind; I found others so I already edited the file and pushed it. Please abandon that bit.
9b6516b
to
60adaa8
Compare
@philippjfr I've initialized some rst for the two guides. Are you happy with this structure before I continue? |
9844545
to
f43e10f
Compare
b41734e
to
30e79fb
Compare
Updated plan for user guides:
Supplementary" guides (no strong ordering):
|
5dcb4e6
to
948d1f8
Compare
I've added the current homepage demo (mandelbrot) to examples/demos. Note I had to heavily downsample (100x100 array instead of 400x400) and use half the frames with the bokeh version to keep the file size down. And it is still 3x larger than the matplotlib version (6MB instead of 2MB). |
@philippjfr I just fixed a syntax error in the game of life app, but it still doesn't work for me (nothing happens after loading). I've just tested all the apps and gapminder also doesn't work..at least on Python 3:
Two more comments:
I'll add the taxi datashader app shown in the collage now... |
@philippjfr I just added the economic bars example used in the collage. Two issues:
We really want something that works for both backends independently! The plot option for matplotlib Bars is horrible but that is a separate issue... |
5cca81a
to
fa16c3f
Compare
@philippjfr Actually I got confused...it seems that 'tab20' is the same as 'Category20'. Should we set up some aliases? |
Just some reminders:
|
All the examples in the collage are now in the gallery for matplotlib/bokeh. Note that in the last one (dropdown_economic) I had to use VLines/Text instead of Arrow for bokeh. |
853eaf1
to
720a3b9
Compare
6f184a8
to
e0f4c46
Compare
e0f4c46
to
495dd97
Compare
I've stripped out all the kernel metadata fluff using: find . -name '*.ipynb' -exec /tmp/holoviews/examples/strip_kernel.sh {} \; Where strip_kernel.sh is: #!/bin/bash
jq --indent 1 \
'
(.cells[] | select(has("outputs")) | .outputs) = []
| (.cells[] | select(has("execution_count")) | .execution_count) = null
| .metadata = {"language_info": {"name":"python", "pygments_lexer": "ipython3"}}
| .cells[].metadata = {}
' $1 > /tmp/stripped.ipynb This is a quick hackish approach for now and we'll find something more robust and useable from holoviews itself in future. |
+14,569 −2,546 We've done a huge amount of work in this PR. Maybe it is time to merge? Just check the notebooks work well for you having stripped out the metadata/kernel spec! |
Phew! Will be very happy to see this on master! :-) |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This PR will add the new getting started guide notebooks to examples, the assets and the related .rst files.